#!/bin/sh /etc/rc.common
# Copyright (C) 2015 OpenWrt.org

START=99
USE_PROCD=1

start_service() {
    procd_open_instance "apps_protect"
    procd_set_param command /usr/sbin/apps_protect.sh
    procd_set_param stdout 1
    procd_set_param stderr 1
    procd_set_param respawn
    procd_close_instance
}

stop_service(){
	killall sdwan_protect.sh  > /dev/null 2>&1
	killall get_device_info.sh  > /dev/null 2>&1
}

